home *** CD-ROM | disk | FTP | other *** search
/ Virtual Sex Shoot / Virtual Sex Shoot.iso / mac / Virtual Sex Shoot / Virtual Sex Shoot.DXR / 00206.ls < prev    next >
Encoding:
Text File  |  1995-09-24  |  861 b   |  32 lines

  1. global gVRSprite1, gVRSprite2, gNavMovieID, gNavMovieObj, gReturning, gVR.ObjectFilename, gVR.CurrentNodeID, gVR.CurrentHotSpotID
  2.  
  3. on exitFrame
  4.   CloseNavMovie()
  5.   if the machineType = 256 then
  6.     ClosePanoMovie()
  7.   end if
  8.   set the ink of sprite gVRSprite1 to 0
  9.   set the ink of sprite gVRSprite2 to 0
  10.   updateStage()
  11.   set the ink of sprite gVRSprite1 to 1
  12.   set the ink of sprite gVRSprite2 to 1
  13.   updateStage()
  14.   OpenNavMovie(gVR.ObjectFilename, gVRSprite1, 1)
  15.   cursor(200)
  16.   cursor(-1)
  17.   if the machineType = 256 then
  18.     if objectp(gNavMovieObj) then
  19.       go(the frame + 1)
  20.       exit
  21.     end if
  22.   else
  23.     if gNavMovieID <> EMPTY then
  24.       go(the frame + 1)
  25.       exit
  26.     end if
  27.   end if
  28.   go("Start")
  29.   updateStage()
  30.   alert("Can't open file:" & RETURN & RETURN & QUOTE & gVR.ObjectFilename & QUOTE & RETURN & RETURN & "as a panoramic movie.")
  31. end
  32.